package com.jy.menu.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jy.menu.dao.MenuDAO;
import com.jy.menu.entity.MenuEntity;
import com.jy.menu.service.MenuService;

@Service
public class MenuServiceImpl implements MenuService {
	
	@Autowired
	private MenuDAO menuDAO;

	public List<MenuEntity> findAll() {
		return menuDAO.findAll();
	}

}
